package com.ehsunbehravesh.service.security.service.jaxb;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * AES Encryption and Decryption response.
 *
 * @author ehsun.behravesh
 */
@XmlRootElement
public class AESResponse extends BaseResult {

  /*
   * Encrypted / Decrypted data.
   */
  @XmlElement
  private byte[] data;

  public byte[] getData() {
    return data;
  }

  public void setData(byte[] data) {
    this.data = data;
  }
}
